<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/3/17 0017
  Time: 16:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <!-- Bootstrap core CSS -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="CLEditor1_3_0/jquery.cleditor.css">
    <script src="<%=request.getContextPath()%>/CLEditor1_3_0/jquery.min.js"></script>
    <script src="<%=request.getContextPath()%>/CLEditor1_3_0/jquery.cleditor.js"></script>
    <script>
        $(function(){
            //初始化cleditor插件
            $("#input").cleditor();
        })
    </script>
</head>
<body>
<div class="container">
    <form class="form-horizontal" method="post" action="api/sign-up">
        <fieldset>
            <legend>
                <h1>注册用户</h1>
            </legend>
            <div class="form-group">
                <label for="inputUsername3" class="col-md-4 control-label">用户名:</label>
                <div class="col-md-4">
                    <input type="text" class="form-control" id="inputUsername3" placeholder="用户名" name="username">
                </div>
            </div>

            <div class="form-group">
                <label for="inputAccount3" class="col-md-4 control-label">账号:</label>
                <div class="col-md-4">
                    <input type="text" class="form-control" id="inputAccount3" placeholder="账号" name="account">
                </div>
            </div>

            <div class="form-group">
                <label for="inputPassword3" class="col-md-4 control-label">密码:</label>
                <div class="col-md-4">
                    <input type="text" class="form-control" id="inputPassword3" placeholder="密码" name="password">
                </div>
            </div>

            <div class="form-group">
                <label for="inputPhone3" class="col-md-4 control-label">电话号码:</label>
                <div class="col-md-4">
                    <input type="text" class="form-control" id="inputPhone3" placeholder="电话号码" name="phone">
                </div>
            </div>

            <div class="form-group">
                <label for="inputEmail3" class="col-md-4 control-label">电子邮箱:</label>
                <div class="col-md-4">
                    <input type="text" class="form-control" id="inputEmail3" placeholder="xxxx@163.com" name="email">
                </div>
            </div>

            <div class="form-group">
                <label for="inputAvater3" class="col-md-4 control-label">Avater:</label>
                <div class="col-md-4">
                    <input type="text" class="form-control" id="inputAvater3" placeholder="Avater" name="avater">
                </div>
            </div>

            <div class="form-group" align="center">
                <button type="submit" class="btn btn-primary btn-lg">注册</button>
                <button type="reset" class="btn btn-default btn-lg">重置</button>
            </div>

            <legend align="center"></legend>

        </fieldset>
        <input type="hidden" name="q" value="register">
    </form>
</div>
</body>
</html>
